import React from 'react'
import { useParams } from 'react-router-dom'

const List = () => {
    let params = useParams(); // 获取地址栏上参数
    return (
        <h2>List-Page&gt;{params.id}</h2>
    )
}

export default List;